package com.atguigu.delegate.demo1;
/**
 *  客户端 ->委派任务
 */
public class Client {

    public static void main(String[] args) {

        String command1 = "font";
        String command2 = "backend";
        String command3 = "test";
        
        Delegator delegator = new Delegator();
        delegator.execute(command1);
        delegator.execute(command2);
        delegator.execute(command3);
    }
}